//
//  PNPullRefreshView.swift
//  新浪微博
//
//  Created by MBP on 16/5/15.
//  Copyright © 2016年 MBP. All rights reserved.
//

import UIKit
import HMRefresh

class PNPullRefreshView: UIView, HMRefreshViewDelegate {

    /// 下拉提示图像
    @IBOutlet weak var pulldownIcon: UIImageView?
    /// 刷新指示器
    @IBOutlet weak var refreshIndicator: UIActivityIndicatorView?
    /// 提示标签
    @IBOutlet weak var tipLabel: UILabel?
    /// 刷新时间标签
    @IBOutlet weak var timeLabel: UILabel?

    class func refreshView() -> PNPullRefreshView {
        let nib = UINib(nibName: "PNPullRefreshView", bundle: nil)
        
        return nib.instantiateWithOwner(nil, options: nil).last as! PNPullRefreshView
    }

}
